package com.example.docmanagement.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 权限树形结构响应
 */
@Data
@Builder
@Schema(description = "权限树响应")
public class PermissionTreeResponse {

    @Schema(description = "模块或分类名称", example = "user")
    private String group;

    @Schema(description = "该分类下的权限列表")
    private List<PermissionResponse> permissions;
}


